#include "StdAfx.h"
#include "Root.h"

Root::Root(string Name,int x,int y,int Colour)
{
	 X=x;
	Y=y;
	colour=Colour;
	string tmp(Name);
	this->link = false;
	//NoName = Name;
	//Height=4;	//18.03.2007 Pawel
	father=NULL;
	previous=NULL;
	next=NULL;
	last=NULL;
	first=NULL;
	ostatnio=NULL;
/*2.05 Pawel*/	Height=0;
	hightlighted=false;
/*4.05 Pawel*/	strona = true;
	visible = true;
	focus=true;
	changeNodeName(Name);
//4.05 Pawel od
/*	first=new Node("",0,true);
	first->father=this;
	last=new Node("",0,false);
	last->father=this;
	first->next=last;
	last->previous=first;
	first->setXY(x,y+getHeight()/2-14);
//	first->NodeName=;
	last->setXY(x,y+getHeight()/2-14);
*/
//4.05 Pawel do
//	TreeNode = new wezel(&tmp);
}

Root::~Root(void)
{
}
